import { getRequest, postRequest, putRequest, deleteRequest } from '@/utils/request';
/**
 * 地区管理*/
// 创建
export const systemAreaCreate = (data) => postRequest('/system/area/create', data);

// 更新
export const systemAreaUpdate = (data) => putRequest('/system/area/update', data);

// 删除
export const systemAreaDelete = (params) => deleteRequest('/system/area/delete', params);

// 获得
export const systemAreaGet = (params) => getRequest('/system/area/get', params);

// 分页
export const systemAreaPage = (params) => getRequest('/system/area/page', params);
export const systemAreaHistoryPage = (params) => getRequest('/system/area/history-page', params);

export const systemAreaUpdateAuditState = (data) => postRequest('/system/area/update-audit-state', data);

export const systemAreaCount = (params) => getRequest('/system/area/count', params);
export const systemAreaWeeksCount = (params) => getRequest('/system/area/weeks-count', params);
